<template>
  <div class="apk">
    <div class="header">
      <!-- 页头 -->
      <no-data />
      <img
        src="http://viptail.image.alimmdn.com/files/official_web/img/viptail.png"
        class="viptail"
      />
      <div class="download">
        <img src="../assets/imgs/ios.png" class="ios" />
        <img src="../assets/imgs/android.png" class="android" />
        <br />
        <div class="download-ios">
          <img
            src="http://viptail.image.alimmdn.com/files/official_web/img/download.png"
          />
        </div>
        <div class="download-android">
          <img
            src="http://viptail.image.alimmdn.com/files/official_web/img/download.png"
          />
        </div>
      </div>
      <img
        src="http://viptail.image.alimmdn.com/files/official_web/img/poster-0.png"
        class="poster-0"
      />
    </div>

    <section>
      <img
        src="http://viptail.image.alimmdn.com/files/official_web/img/poster-1.png"
        class="poster"
      />
      <img
        src="http://viptail.image.alimmdn.com/files/official_web/img/poster-2.png"
        class="poster"
      />
      <img
        src="http://viptail.image.alimmdn.com/files/official_web/img/poster-3.png"
        class="poster"
      />
      <img
        src="http://viptail.image.alimmdn.com/files/official_web/img/poster-4.png"
        class="poster"
      />
    </section>
    <aside>
      <img
        src="http://viptail.image.alimmdn.com/files/official_web/img/poster-5.png"
      />
    </aside>
    <my-footer />
  </div>
</template>

<script>
import MyFooter from "../components/MyFooter.vue";
import NoData from "../components/NoData.vue";
export default {
  components: { NoData, MyFooter },
};
</script>

<style lang="scss">
.apk {
  aside {
    background: url(http://viptail.image.alimmdn.com/files/official_web/img/foot.jpg)
      center top no-repeat;
    background-size: 100%;
    display: block;
    padding: 20% 20% 9%;
    margin-top: -50px;
    text-align: center;
  }
  .poster {
    margin: 0 auto;
    display: block;
  }
  .header {
    .poster-0 {
      margin: 0 auto 200px;
    }
    .download {
      .ios:hover ~ .download-ios {
        opacity: 10;
      }
      .android:hover ~ .download-android {
        opacity: 10;
      }
      .download-ios,
      .download-android {
        img {
          display: inline-block;
          width: 80%;
        }
        background: url(http://viptail.image.alimmdn.com/files/official_web/img/bg_download.png)
          center top no-repeat;
        display: inline-block;
        padding-top: 30px;
        margin: 0 50px;
        opacity: 0;
        filter: alpha(opacity=0);
        width: 200px;
      }
      .android:hover {
        background-color: #eca640;
        border-radius: 40px;
        width: 260px;
        display: inline-block;
        margin: 0 20px;
      }
      .android {
        width: 260px;
        display: inline-block;
        margin: 0 20px;
      }
      .ios:hover {
        background-color: #eca640;
        border-radius: 40px;
        width: 260px;
        display: inline-block;
        margin: 0 20px;
      }
      .ios {
        width: 260px;
        display: inline-block;
        margin: 0 20px;
      }
      margin: 0 auto;
      text-align: center;
    }
    img {
      display: block;
    }
    .viptail {
      margin: 130px auto 60px;
      width: 200px;
    }
    background: url(http://viptail.image.alimmdn.com/files/official_web/img/top.jpg)
      center top no-repeat;
    // background-size: cover;
  }
}
</style>